<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>dp14txss: xvid_pat_gen.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">dp14txss
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xvid__pat__gen_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xvid_pat_gen.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This is the main header file for Xilinx Video Pattern Generator. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who    Date     Changes
</p>
<hr/>
<p>
1.00  shad   01/29/15 Initial release.
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a5d33654f72b7e9a1aa9a1d513ee2282a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvid__pat__gen_8h.html#a5d33654f72b7e9a1aa9a1d513ee2282a">XVID_PAT_GEN_H_</a></td></tr>
<tr class="memdesc:a5d33654f72b7e9a1aa9a1d513ee2282a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent circular inclusions by using protection macros.  <a href="#a5d33654f72b7e9a1aa9a1d513ee2282a">More...</a><br/></td></tr>
<tr class="separator:a5d33654f72b7e9a1aa9a1d513ee2282a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a6e5b492b075584802d8e448341ad463c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvid__pat__gen_8h.html#a6e5b492b075584802d8e448341ad463c">Vpg_StreamSrcConfigure</a> (XDp *InstancePtr, u8 VSplitMode, u8 first_time)</td></tr>
<tr class="memdesc:a6e5b492b075584802d8e448341ad463c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function updates required timing values in Video Pattern Generator core.  <a href="#a6e5b492b075584802d8e448341ad463c">More...</a><br/></td></tr>
<tr class="separator:a6e5b492b075584802d8e448341ad463c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00362bd6ffe6f58c8a88891c228f1b0c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvid__pat__gen_8h.html#a00362bd6ffe6f58c8a88891c228f1b0c">Vpg_VidgenSetTestPattern</a> (XDp *InstancePtr, u8 Stream)</td></tr>
<tr class="memdesc:a00362bd6ffe6f58c8a88891c228f1b0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets pattern to generate in Video Pattern Generator core.  <a href="#a00362bd6ffe6f58c8a88891c228f1b0c">More...</a><br/></td></tr>
<tr class="separator:a00362bd6ffe6f58c8a88891c228f1b0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae950e5381749a4972645f73cfa8c478"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvid__pat__gen_8h.html#aae950e5381749a4972645f73cfa8c478">Vpg_VidgenSetUserPattern</a> (XDp *InstancePtr, u8 Pattern)</td></tr>
<tr class="memdesc:aae950e5381749a4972645f73cfa8c478"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets user pattern.  <a href="#aae950e5381749a4972645f73cfa8c478">More...</a><br/></td></tr>
<tr class="separator:aae950e5381749a4972645f73cfa8c478"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a5d33654f72b7e9a1aa9a1d513ee2282a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XVID_PAT_GEN_H_</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prevent circular inclusions by using protection macros. </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a6e5b492b075584802d8e448341ad463c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Vpg_StreamSrcConfigure </td>
          <td>(</td>
          <td class="paramtype">XDp *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>VSplitMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>first_time</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function updates required timing values in Video Pattern Generator core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the XDp instance. </td></tr>
    <tr><td class="paramname">VSplitMode</td><td>specifies vertical split mode to be used for splitting resolution vertically.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if Video pattern configured successfully.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xvid__pat__gen_8h.html#a00362bd6ffe6f58c8a88891c228f1b0c">Vpg_VidgenSetTestPattern()</a>.</p>

<p>Referenced by <a class="el" href="xdptxss__kcu105__dp14_8c.html#a0d6fa9db142e2e6b2872b64789b97551">detect_rx_video_and_startTx()</a>, <a class="el" href="xdptxss__zcu102__tx_8h.html#a7444574d5e7ee48e58bcd851b8a3da9d">hpd_con()</a>, <a class="el" href="xdptxss__kcu105__dp14_8c.html#a87878b159735f42a419a35fa296606da">start_tx()</a>, and <a class="el" href="xdptxss__kcu105__dp14_8c.html#adac5f2cdc61511609847ab58554d635a">switch_to_Tx_only()</a>.</p>

</div>
</div>
<a class="anchor" id="a00362bd6ffe6f58c8a88891c228f1b0c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Vpg_VidgenSetTestPattern </td>
          <td>(</td>
          <td class="paramtype">XDp *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Stream</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets pattern to generate in Video Pattern Generator core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the XDp instance. </td></tr>
    <tr><td class="paramname">Stream</td><td>is the stream number for which to set the pattern.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xvid__pat__gen_8h.html#a6e5b492b075584802d8e448341ad463c">Vpg_StreamSrcConfigure()</a>.</p>

</div>
</div>
<a class="anchor" id="aae950e5381749a4972645f73cfa8c478"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Vpg_VidgenSetUserPattern </td>
          <td>(</td>
          <td class="paramtype">XDp *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets user pattern. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the XDp instance. </td></tr>
    <tr><td class="paramname">Pattern</td><td>number to set with</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
